﻿namespace HQS.TokenInterpolation.Tokens
{
    [Token(Name = "join")]
    public class Join : AbstractToken
    {
        [TokenProperty("this")]
        public string This { get; set; }

        [TokenProperty("using")]
        public string Using { get; set; }

        [TokenProperty("by")]
        public string By { get; set; }

        protected override TokenRuntimeValue OnAccept(IDataSourcesVisitor runtimeContext)
        {
            return runtimeContext.Visit(this);
        }
    }
}